package com.lei.day05lx;

import com.lei.day05lx.bean.DxcBean;
import com.lei.day05lx.bean.LoginBean;
import com.lei.day05lx.bean.RegisterBean;

import java.util.HashMap;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.QueryMap;

public interface APi {
    @POST("login")
    Observable<LoginBean> login(@QueryMap HashMap<String,String> map);
    @POST("register")
    Observable<RegisterBean> register(@QueryMap HashMap<String,String> map);
    @GET("ios/cf/dish_list.php?")
    Observable<DxcBean> initdata(@QueryMap HashMap<String,String> map);

}
